using System.ComponentModel;
using System.Collections.Generic;
using System.Linq.Expressions;
using System;

namespace CommonPatterns.MVVM
{
    /// <summary>
    /// Base ViewModel class containing common methods and helpers
    /// </summary>
    public class ViewModelBase : BindableElement
    {
        #region Properties
        private string _title;
        public string Title
        {
            get { return _title; }
            set
            {
                if(_title != value)
                {
                    _title = value;
                   RaisePropertyChanged(()=>Title);
                }
            }
        }
        #endregion
    }
}